Add more debugging information
authorJustin Burkett <justin@burkett.cc>
Sat, 13 Apr 2024 20:03:47 +0000 (16:03 -0400)
committerJustin Burkett <justin@burkett.cc>
Sat, 13 Apr 2024 20:03:47 +0000 (16:03 -0400)
which-key.el

index beb111211a8923a717e742063a6c24288f4d5660..1ece569e7edfc9e0ae8246b0167f025b0525b92b 100644 (file)
@@ -1284,6 +1284,10 @@ call signature in different emacs versions"
               (window-height . (lambda (w) (fit-window-to-buffer w nil 1)))
               (side . ,which-key-side-window-location)
               (slot . ,which-key-side-window-slot)))))
+    (which-key--debug-message "Allow imprecise fit: %s
+Display window alist: %s"
+                              which-key-allow-imprecise-window-fit
+                              alist)
     ;; Previously used `display-buffer-in-major-side-window' here, but
     ;; apparently that is meant to be an internal function. See emacs bug #24828
     ;; and advice given there.